package cn.qqy.org.mapper;

import cn.qqy.org.domain.Department;
import cn.qqy.org.domain.Employee;
import cn.qqy.org.utils.DepartmentQuery;

import java.util.List;

public interface IDepartmentMapper {

    void save(Department department);
    void update(Department department);
    void delete(Long id);
    List<Department> findall( );
    Department findid(Long id);

    Long count(DepartmentQuery departmentQuery );
    List<Department> queryPage(DepartmentQuery departmentQuery);

    List<Employee> findmanager();

    List<Department> findtree();

    void batchRemove(List<Long> ids);

}


